Rename uhabits-core package

This commit is contained in:
2017-05-28 10:34:57 -04:00
parent c9b62669de
commit 1746920699
255 changed files with 501 additions and 468 deletions

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits;
package org.isoron.uhabits.core;
import javax.inject.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits;
package org.isoron.uhabits.core;
public class MyClass
{}

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import com.google.gson.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
/**
* A Command represents a desired set of changes that should be performed on the

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.*;
import org.isoron.uhabits.tasks.*;
import org.isoron.uhabits.core.*;
import org.isoron.uhabits.core.tasks.*;
import java.util.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import com.google.auto.factory.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
/**
* Command to create a habit.

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
/**
* Command to toggle a repetition.

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import com.google.auto.factory.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
/**
* Command to modify a habit.

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
/**
* Command to toggle a repetition.

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -19,6 +19,6 @@
/**
* Provides commands to modify the models, such as {@link
* org.isoron.uhabits.commands.CreateHabitCommand}.
* org.isoron.uhabits.core.commands.CreateHabitCommand}.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.io;
package org.isoron.uhabits.core.io;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.utils.*;
import java.io.*;
import java.text.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.apache.commons.lang3.builder.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.io.*;
import java.text.*;
@@ -29,7 +29,7 @@ import java.util.*;
import javax.annotation.concurrent.*;
import static org.isoron.uhabits.models.Checkmark.*;
import static org.isoron.uhabits.core.models.Checkmark.*;
/**
* The collection of {@link Checkmark}s belonging to a habit.
*/

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.apache.commons.lang3.builder.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
@@ -28,7 +28,7 @@ import java.util.*;
import javax.annotation.concurrent.*;
import javax.inject.*;
import static org.isoron.uhabits.models.Checkmark.*;
import static org.isoron.uhabits.core.models.Checkmark.*;
/**
* The thing that the user wants to track.

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import com.opencsv.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.io.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;

View File

@@ -17,9 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
public class HabitNotFoundException extends RuntimeException {
public HabitNotFoundException() {

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
/**
* Interface implemented by factories that provide concrete implementations of

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.apache.commons.lang3.builder.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.apache.commons.lang3.builder.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.io.*;
import java.text.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.apache.commons.lang3.builder.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
public final class Streak
{

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import java.util.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,15 +17,15 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;
import static org.isoron.uhabits.models.HabitList.Order.*;
import static org.isoron.uhabits.core.models.HabitList.Order.*;
/**
* In-memory implementation of {@link HabitList}.

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.*;
import org.isoron.uhabits.core.models.*;
import dagger.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import java.util.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.utils.*;
import java.util.*;

View File

@@ -20,4 +20,4 @@
/**
* Provides in-memory implementation of core models.
*/
package org.isoron.uhabits.models.memory;
package org.isoron.uhabits.core.models.memory;

View File

@@ -18,7 +18,7 @@
*/
/**
* Provides core models classes, such as {@link org.isoron.uhabits.models.Habit}
* and {@link org.isoron.uhabits.models.Repetition}.
* Provides core models classes, such as {@link org.isoron.uhabits.core.models.Habit}
* and {@link org.isoron.uhabits.core.models.Repetition}.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.preferences;
package org.isoron.uhabits.core.preferences;
public interface Preferences
{

View File

@@ -17,14 +17,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.tasks;
package org.isoron.uhabits.core.tasks;
import android.support.annotation.*;
import com.google.auto.factory.*;
import org.isoron.uhabits.io.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.io.*;
import org.isoron.uhabits.core.models.*;
import java.io.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.tasks;
package org.isoron.uhabits.core.tasks;
public class SingleThreadTaskRunner implements TaskRunner
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.tasks;
package org.isoron.uhabits.core.tasks;
import android.support.annotation.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.tasks;
package org.isoron.uhabits.core.tasks;
public interface TaskRunner
{

View File

@@ -17,9 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui;
package org.isoron.uhabits.core.ui;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
public interface NotificationTray
{

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui;
package org.isoron.uhabits.core.ui;
import android.support.annotation.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.core.preferences.*;
public abstract class ThemeSwitcher
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.callbacks;
package org.isoron.uhabits.core.ui.callbacks;
public interface OnColorPickedCallback
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.callbacks;
package org.isoron.uhabits.core.ui.callbacks;
public interface OnConfirmedCallback
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.callbacks;
package org.isoron.uhabits.core.ui.callbacks;
public interface OnFinishedCallback
{

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.about;
package org.isoron.uhabits.core.ui.screens.about;
import android.support.annotation.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.core.preferences.*;
public class AboutBehavior
{

View File

@@ -17,15 +17,15 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import android.support.annotation.*;
import org.isoron.uhabits.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.tasks.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.tasks.*;
import org.isoron.uhabits.core.utils.*;
import java.util.*;

View File

@@ -17,14 +17,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import android.support.annotation.*;
import com.google.auto.factory.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.utils.*;
/**
* Provides a list of hints to be shown at the application startup, and takes

View File

@@ -17,15 +17,15 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import android.support.annotation.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.tasks.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.tasks.*;
import org.isoron.uhabits.core.utils.*;
import java.io.*;
import java.util.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.ui.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.ui.*;
import javax.inject.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import android.support.annotation.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.ui.callbacks.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.ui.callbacks.*;
import java.util.*;

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.show;
package org.isoron.uhabits.core.ui.screens.habits.show;
import android.support.annotation.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import javax.inject.*;

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.show;
package org.isoron.uhabits.core.ui.screens.habits.show;
import android.support.annotation.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.tasks.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.tasks.*;
import java.io.*;
import java.util.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.widgets;
package org.isoron.uhabits.core.ui.widgets;
import android.support.annotation.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.ui.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.ui.*;
import javax.inject.*;

View File

@@ -1,4 +1,4 @@
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
public class ColorConstants
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
import android.support.annotation.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
import java.util.*;

View File

@@ -17,9 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
import org.isoron.uhabits.*;
import org.isoron.uhabits.core.*;
import java.util.*;
import java.util.concurrent.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
import java.math.*;
import java.util.*;

View File

@@ -19,11 +19,11 @@
package org.isoron.uhabits;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.models.memory.*;
import org.isoron.uhabits.tasks.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.models.memory.*;
import org.isoron.uhabits.core.tasks.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import org.junit.runner.*;
import org.mockito.junit.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import java.util.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import java.util.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import static junit.framework.Assert.*;

View File

@@ -17,17 +17,17 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import static junit.framework.Assert.*;
import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.equalTo;
import static org.isoron.uhabits.models.Checkmark.CHECKED_EXPLICITLY;
import static org.isoron.uhabits.core.models.Checkmark.CHECKED_EXPLICITLY;
public class CreateRepetitionCommandTest extends BaseUnitTest
{

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import org.junit.rules.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import static org.hamcrest.MatcherAssert.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import static junit.framework.Assert.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.commands;
package org.isoron.uhabits.core.commands;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import java.util.*;

View File

@@ -17,17 +17,17 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import java.io.*;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.core.IsEqual.*;
import static org.isoron.uhabits.models.Checkmark.*;
import static org.isoron.uhabits.core.models.Checkmark.*;
public class CheckmarkListTest extends BaseUnitTest
{

View File

@@ -17,9 +17,9 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
public class HabitFixtures
{

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.hamcrest.*;
import org.isoron.uhabits.*;
@@ -27,7 +27,7 @@ import java.io.*;
import java.util.*;
import static org.hamcrest.CoreMatchers.*;
import static org.isoron.uhabits.models.HabitList.Order.*;
import static org.isoron.uhabits.core.models.HabitList.Order.*;
import static org.junit.Assert.*;
@SuppressWarnings("JavaDoc")

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.junit.*;

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import android.support.annotation.*;
import org.isoron.uhabits.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import java.util.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import java.io.*;

View File

@@ -17,13 +17,13 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.junit.*;
import static org.hamcrest.number.IsCloseTo.*;
import static org.isoron.uhabits.models.Score.*;
import static org.isoron.uhabits.core.models.Score.*;
import static org.junit.Assert.*;
public class ScoreTest extends BaseUnitTest

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import java.util.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.models;
package org.isoron.uhabits.core.models;
import org.isoron.uhabits.*;
import org.junit.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.tasks;
package org.isoron.uhabits.core.tasks;
import org.isoron.uhabits.*;
import org.junit.*;

View File

@@ -17,14 +17,14 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import junit.framework.Assert;
import org.isoron.uhabits.*;
import org.isoron.uhabits.commands.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.commands.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.Test;
import java.util.*;

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import org.isoron.uhabits.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import org.mockito.*;

View File

@@ -17,12 +17,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.utils.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.utils.*;
import org.junit.*;
import org.mockito.*;
@@ -32,7 +32,7 @@ import static java.nio.file.Files.*;
import static junit.framework.TestCase.assertTrue;
import static org.apache.commons.io.FileUtils.*;
import static org.hamcrest.CoreMatchers.*;
import static org.isoron.uhabits.ui.screens.habits.list.ListHabitsBehavior.Message.*;
import static org.isoron.uhabits.core.ui.screens.habits.list.ListHabitsBehavior.Message.*;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.*;
import static org.mockito.Mockito.any;

View File

@@ -17,19 +17,19 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.preferences.*;
import org.isoron.uhabits.ui.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.preferences.*;
import org.isoron.uhabits.core.ui.*;
import org.junit.*;
import org.mockito.*;
import static junit.framework.TestCase.*;
import static org.hamcrest.MatcherAssert.*;
import static org.hamcrest.Matchers.*;
import static org.isoron.uhabits.models.HabitList.Order.*;
import static org.isoron.uhabits.core.models.HabitList.Order.*;
import static org.mockito.Mockito.*;
public class ListHabitsMenuBehaviorTest extends BaseUnitTest

View File

@@ -17,11 +17,11 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.list;
package org.isoron.uhabits.core.ui.screens.habits.list;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.ui.callbacks.*;
import org.isoron.uhabits.core.models.*;
import org.isoron.uhabits.core.ui.callbacks.*;
import org.junit.*;
import org.mockito.*;

View File

@@ -17,10 +17,10 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.ui.screens.habits.show;
package org.isoron.uhabits.core.ui.screens.habits.show;
import org.isoron.uhabits.*;
import org.isoron.uhabits.models.*;
import org.isoron.uhabits.core.models.*;
import org.junit.*;
import java.io.*;

View File

@@ -17,7 +17,7 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.isoron.uhabits.utils;
package org.isoron.uhabits.core.utils;
import org.isoron.uhabits.*;
import org.junit.*;