[09/35] incubator-unomi git commit: UNOMI-118 : Surfers overwrite test, profile import
UNOMI-118 : Surfers overwrite test, profile import Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/2c32e4f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/2c32e4f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/2c32e4f5 Branch: refs/heads/feature-UNOMI-117 Commit: 2c32e4f5dfca5709eb13e5deb7c64df48e027d8e Parents: a8de6e1 Author: Abdelkader Midani Authored: Mon Aug 14 02:39:57 2017 +0200 Committer: Abdelkader Midani Committed: Mon Aug 14 02:39:57 2017 +0200 -- .../java/org/apache/unomi/itests/AllITs.java| 1 + .../java/org/apache/unomi/itests/BaseIT.java| 10 +- .../unomi/itests/ProfileImportBasicIT.java | 2 +- .../unomi/itests/ProfileImportRankingIT.java| 14 +- .../itests/ProfileImportSurfersDeleteIT.java| 10 +- .../unomi/itests/ProfileImportSurfersIT.java| 2 +- .../itests/ProfileImportSurfersOverwriteIT.java | 154 +++ .../test/resources/3-surfers-delete-test.csv| 37 - .../test/resources/3-surfers-overwrite-test.csv | 37 + itests/src/test/resources/4-ranking-test.csv| 26 .../test/resources/4-surfers-delete-test.csv| 37 + itests/src/test/resources/5-ranking-test.csv| 26 12 files changed, 275 insertions(+), 81 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/AllITs.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/AllITs.java b/itests/src/test/java/org/apache/unomi/itests/AllITs.java index 3673289..8251816 100644 --- a/itests/src/test/java/org/apache/unomi/itests/AllITs.java +++ b/itests/src/test/java/org/apache/unomi/itests/AllITs.java @@ -35,6 +35,7 @@ import org.junit.runners.Suite.SuiteClasses; ProfileServiceIT.class, ProfileImportBasicIT.class, ProfileImportSurfersIT.class, +ProfileImportSurfersOverwriteIT.class, ProfileImportSurfersDeleteIT.class, ProfileImportRankingIT.class }) http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/BaseIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/BaseIT.java b/itests/src/test/java/org/apache/unomi/itests/BaseIT.java index 8f70f2f..ae43a60 100644 --- a/itests/src/test/java/org/apache/unomi/itests/BaseIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/BaseIT.java @@ -99,10 +99,12 @@ public abstract class BaseIT { "src/test/resources/1-basic-test.csv")), replaceConfigurationFile("data/tmp/recurrent_import/2-surfers-test.csv", new File( "src/test/resources/2-surfers-test.csv")), - replaceConfigurationFile("data/tmp/recurrent_import/3-surfers-delete-test.csv", new File( -"src/test/resources/3-surfers-delete-test.csv")), - replaceConfigurationFile("data/tmp/recurrent_import/4-ranking-test.csv", new File( -"src/test/resources/4-ranking-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/3-surfers-overwrite-test.csv", new File( +"src/test/resources/3-surfers-overwrite-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/4-surfers-delete-test.csv", new File( +"src/test/resources/4-surfers-delete-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/5-ranking-test.csv", new File( +"src/test/resources/5-ranking-test.csv")), keepRuntimeFolder(), configureConsole().ignoreLocalConsole(), logLevel(LogLevel.INFO), http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java b/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java index a147029..c51f102 100644 --- a/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java @@ -86,7 +86,7 @@ public class ProfileImportBasicIT extends BaseIT { } @Test -public void testImport1Basic() throws IOException, InterruptedException { +public void testImportBasic() throws IOException, InterruptedException { //Wait for the csv to be processed Thread.sleep(1); h
incubator-unomi git commit: UNOMI-118 : Surfers overwrite test, profile import
Repository: incubator-unomi Updated Branches: refs/heads/master a8de6e1f7 -> 2c32e4f5d UNOMI-118 : Surfers overwrite test, profile import Project: http://git-wip-us.apache.org/repos/asf/incubator-unomi/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-unomi/commit/2c32e4f5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-unomi/tree/2c32e4f5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-unomi/diff/2c32e4f5 Branch: refs/heads/master Commit: 2c32e4f5dfca5709eb13e5deb7c64df48e027d8e Parents: a8de6e1 Author: Abdelkader Midani Authored: Mon Aug 14 02:39:57 2017 +0200 Committer: Abdelkader Midani Committed: Mon Aug 14 02:39:57 2017 +0200 -- .../java/org/apache/unomi/itests/AllITs.java| 1 + .../java/org/apache/unomi/itests/BaseIT.java| 10 +- .../unomi/itests/ProfileImportBasicIT.java | 2 +- .../unomi/itests/ProfileImportRankingIT.java| 14 +- .../itests/ProfileImportSurfersDeleteIT.java| 10 +- .../unomi/itests/ProfileImportSurfersIT.java| 2 +- .../itests/ProfileImportSurfersOverwriteIT.java | 154 +++ .../test/resources/3-surfers-delete-test.csv| 37 - .../test/resources/3-surfers-overwrite-test.csv | 37 + itests/src/test/resources/4-ranking-test.csv| 26 .../test/resources/4-surfers-delete-test.csv| 37 + itests/src/test/resources/5-ranking-test.csv| 26 12 files changed, 275 insertions(+), 81 deletions(-) -- http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/AllITs.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/AllITs.java b/itests/src/test/java/org/apache/unomi/itests/AllITs.java index 3673289..8251816 100644 --- a/itests/src/test/java/org/apache/unomi/itests/AllITs.java +++ b/itests/src/test/java/org/apache/unomi/itests/AllITs.java @@ -35,6 +35,7 @@ import org.junit.runners.Suite.SuiteClasses; ProfileServiceIT.class, ProfileImportBasicIT.class, ProfileImportSurfersIT.class, +ProfileImportSurfersOverwriteIT.class, ProfileImportSurfersDeleteIT.class, ProfileImportRankingIT.class }) http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/BaseIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/BaseIT.java b/itests/src/test/java/org/apache/unomi/itests/BaseIT.java index 8f70f2f..ae43a60 100644 --- a/itests/src/test/java/org/apache/unomi/itests/BaseIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/BaseIT.java @@ -99,10 +99,12 @@ public abstract class BaseIT { "src/test/resources/1-basic-test.csv")), replaceConfigurationFile("data/tmp/recurrent_import/2-surfers-test.csv", new File( "src/test/resources/2-surfers-test.csv")), - replaceConfigurationFile("data/tmp/recurrent_import/3-surfers-delete-test.csv", new File( -"src/test/resources/3-surfers-delete-test.csv")), - replaceConfigurationFile("data/tmp/recurrent_import/4-ranking-test.csv", new File( -"src/test/resources/4-ranking-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/3-surfers-overwrite-test.csv", new File( +"src/test/resources/3-surfers-overwrite-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/4-surfers-delete-test.csv", new File( +"src/test/resources/4-surfers-delete-test.csv")), + replaceConfigurationFile("data/tmp/recurrent_import/5-ranking-test.csv", new File( +"src/test/resources/5-ranking-test.csv")), keepRuntimeFolder(), configureConsole().ignoreLocalConsole(), logLevel(LogLevel.INFO), http://git-wip-us.apache.org/repos/asf/incubator-unomi/blob/2c32e4f5/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java -- diff --git a/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java b/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java index a147029..c51f102 100644 --- a/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java +++ b/itests/src/test/java/org/apache/unomi/itests/ProfileImportBasicIT.java @@ -86,7 +86,7 @@ public class ProfileImportBasicIT extends BaseIT { } @Test -public void testImport1Basic() throws IOException, InterruptedException { +public void testImportBasic() throws IOException, InterruptedException