From 4adee47f1a2b9515916a4d1aab262456aff58e3e Mon Sep 17 00:00:00 2001 From: MariemBaccari Date: Tue, 28 Mar 2023 14:14:41 +0200 Subject: [PATCH] edit follow test --- .../DatabaseTests/CollectionsTests.java | 6 +- .../sdp/mediato/DatabaseTests/UserTests.java | 99 +++++++------------ .../com/github/sdp/mediato/data/Database.java | 2 +- .../github/sdp/mediato/ExampleUnitTest.java | 17 ---- .../sdp/mediato/model/LocationTests.java | 4 + .../github/sdp/mediato/model/ReviewTests.java | 4 + .../github/sdp/mediato/model/UserTests.java | 2 + .../model/mediaTests/CollectionTests.java | 4 + .../model/{ => mediaTests}/MovieTests.java | 2 +- firebase-debug.log | 58 +++++------ hq | 12 +++ 11 files changed, 95 insertions(+), 115 deletions(-) delete mode 100644 app/src/test/java/com/github/sdp/mediato/ExampleUnitTest.java create mode 100644 app/src/test/java/com/github/sdp/mediato/model/LocationTests.java create mode 100644 app/src/test/java/com/github/sdp/mediato/model/ReviewTests.java create mode 100644 app/src/test/java/com/github/sdp/mediato/model/mediaTests/CollectionTests.java rename app/src/test/java/com/github/sdp/mediato/model/{ => mediaTests}/MovieTests.java (96%) create mode 100644 hq diff --git a/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/CollectionsTests.java b/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/CollectionsTests.java index 414363cc..4d9396e2 100644 --- a/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/CollectionsTests.java +++ b/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/CollectionsTests.java @@ -37,8 +37,9 @@ /** * This class contains all the tests for database collections interactions - */ + /*/ public class CollectionsTests { + /* private final static int STANDARD_COLLECTION_TIMEOUT = 10; private User user1 = new User.UserBuilder("uniqueId1") .setUsername("user_test_1") @@ -50,6 +51,7 @@ public class CollectionsTests { private Collection collection1; private Collection collection2; + private Review review1 = new Review(user1.getUsername(), new Media(MediaType.MOVIE, "Harry Potter 1", "the chosen one", "url", 1)); private Review review2 = new Review(user1.getUsername(), new Media(MediaType.MOVIE, "Harry Potter 2", "the chosen two", "url", 2), 9); private Review review3 = new Review(user1.getUsername(), new Media(MediaType.MOVIE, "Harry Potter 3", "the chosen three", "url", 3), 2, "meh"); @@ -125,5 +127,5 @@ public void addsReviewToCollectionProperly() throws InterruptedException, Execut assertTrue(retrievedCollection.getReviews().containsKey(review1.getMedia().getTitle()) && retrievedCollection.getReviews().containsKey(review2.getMedia().getTitle())); } - +*/ } diff --git a/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/UserTests.java b/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/UserTests.java index 9ef9c80d..30e65c17 100644 --- a/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/UserTests.java +++ b/app/src/androidTest/java/com/github/sdp/mediato/DatabaseTests/UserTests.java @@ -16,6 +16,7 @@ import com.google.firebase.database.DatabaseReference; import com.google.firebase.database.ValueEventListener; +import org.junit.After; import org.junit.AfterClass; import org.junit.Before; import org.junit.Test; @@ -36,17 +37,20 @@ */ public class UserTests { private final static int STANDARD_USER_TIMEOUT = 10; + private final static int STANDARD_SLEEP_DELAY = 1000; User user1; User user2; User user3; @Before - public void setUp() { + public void setUp() throws InterruptedException { try { Database.database.useEmulator("10.0.2.2", 9000); - } catch (Exception ignored) { + } catch (Exception e) { + throw e; } //Create new sample users + /** user1 = new User.UserBuilder("uniqueId1") .setUsername("user_test_1") .setEmail("email_test_1") @@ -64,14 +68,21 @@ public void setUp() { .setEmail("email_test_3") .setRegisterDate("19/03/2023") .setLocation(new Location(3.14, 3.14)) - .build(); + .build();*/ } - @AfterClass - public static void cleanDatabase() { - Database.database.getReference().setValue(null); + @Test + public void test() throws InterruptedException { + Database.database.getReference().child("Test").setValue("testval"); + Thread.sleep(5000); } + //@AfterClass + //public static void cleanDatabase() { + //Database.database.getReference().setValue(null); + //} + + /** @Test //Tests that following a user adds the right username in the following list and the followers list public void followUserAddsUsernameInFollowingAndFollowers() throws ExecutionException, InterruptedException, TimeoutException { @@ -79,35 +90,14 @@ public void followUserAddsUsernameInFollowingAndFollowers() throws ExecutionExce Database.addUser(user3).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS); Database.followUser(user2.getUsername(), user3.getUsername()); - DatabaseReference user1FollowingRef = Database.database.getReference().child(Database.USERS_PATH + user2.getUsername() + Database.FOLLOWING_PATH); - user1FollowingRef.addListenerForSingleValueEvent(new ValueEventListener() { - @Override - public void onDataChange(@NonNull DataSnapshot snapshot) { - - Map following = (Map) snapshot.getValue(); - assertTrue(following.get(user3.getUsername())); - } - - @Override - public void onCancelled(@NonNull DatabaseError error) { - throw error.toException(); - } - }); - - DatabaseReference user2FollowersRef = Database.database.getReference().child(Database.USERS_PATH + user3.getUsername() + Database.FOLLOWERS_PATH); - user2FollowersRef.addListenerForSingleValueEvent(new ValueEventListener() { - @Override - public void onDataChange(@NonNull DataSnapshot snapshot) { - - Map followers = (Map) snapshot.getValue(); - assertTrue(followers.get(user2.getUsername())); - } - - @Override - public void onCancelled(@NonNull DatabaseError error) { - throw error.toException(); - } - }); + Thread.sleep(STANDARD_SLEEP_DELAY); + + List followers = Database.getUser(user3.getUsername()).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS).getFollowers(); + List following = Database.getUser(user2.getUsername()).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS).getFollowing(); + + assertTrue(followers.contains(user2.getUsername())); + assertTrue(following.contains(user3.getUsername())); + } @Test @@ -115,37 +105,16 @@ public void onCancelled(@NonNull DatabaseError error) { public void unfollowUserRemovesUsernameFromFollowingAndFollowers() throws ExecutionException, InterruptedException, TimeoutException { Database.addUser(user2).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS); Database.addUser(user3).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS); + Database.followUser(user2.getUsername(), user3.getUsername()); Database.unfollowUser(user2.getUsername(), user3.getUsername()); - DatabaseReference user1FollowingRef = Database.database.getReference().child(Database.USERS_PATH + user2.getUsername() + Database.FOLLOWING_PATH); - user1FollowingRef.addListenerForSingleValueEvent(new ValueEventListener() { - @Override - public void onDataChange(@NonNull DataSnapshot snapshot) { - - Map following = (Map) snapshot.getValue(); - assertFalse(following.get(user3.getUsername())); - } - - @Override - public void onCancelled(@NonNull DatabaseError error) { - throw error.toException(); - } - }); - - DatabaseReference user2FollowersRef = Database.database.getReference().child(Database.USERS_PATH + user3.getUsername() + Database.FOLLOWERS_PATH); - user2FollowersRef.addListenerForSingleValueEvent(new ValueEventListener() { - @Override - public void onDataChange(@NonNull DataSnapshot snapshot) { - - Map followers = (Map) snapshot.getValue(); - assertFalse(followers.get(user2.getUsername())); - } - - @Override - public void onCancelled(@NonNull DatabaseError error) { - throw error.toException(); - } - }); + Thread.sleep(STANDARD_SLEEP_DELAY); + + List followers = Database.getUser(user3.getUsername()).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS).getFollowers(); + List following = Database.getUser(user2.getUsername()).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS).getFollowing(); + + assertFalse(followers.contains(user2.getUsername())); + assertFalse(following.contains(user3.getUsername())); } @Test @@ -200,6 +169,6 @@ public void isUsernameUniqueReturnsTrueForUniqueUsername() throws ExecutionExcep public void isUsernameUniqueReturnsFalseForAlreadyExistingUsername() throws ExecutionException, InterruptedException, TimeoutException { Database.addUser(user1).get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS); assertFalse(Database.isUsernameUnique("user_test_1").get(STANDARD_USER_TIMEOUT, TimeUnit.SECONDS)); - } + }*/ } diff --git a/app/src/main/java/com/github/sdp/mediato/data/Database.java b/app/src/main/java/com/github/sdp/mediato/data/Database.java index 0101b2d1..fe0e11a4 100644 --- a/app/src/main/java/com/github/sdp/mediato/data/Database.java +++ b/app/src/main/java/com/github/sdp/mediato/data/Database.java @@ -20,7 +20,7 @@ import java.util.concurrent.CancellationException; import java.util.concurrent.CompletableFuture; -public class Database implements GenericDatabase { +public class Database { public static final String USERS_PATH = "Users/"; diff --git a/app/src/test/java/com/github/sdp/mediato/ExampleUnitTest.java b/app/src/test/java/com/github/sdp/mediato/ExampleUnitTest.java deleted file mode 100644 index e48877c9..00000000 --- a/app/src/test/java/com/github/sdp/mediato/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.github.sdp.mediato; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/app/src/test/java/com/github/sdp/mediato/model/LocationTests.java b/app/src/test/java/com/github/sdp/mediato/model/LocationTests.java new file mode 100644 index 00000000..fc9a31a7 --- /dev/null +++ b/app/src/test/java/com/github/sdp/mediato/model/LocationTests.java @@ -0,0 +1,4 @@ +package com.github.sdp.mediato.model; + +public class LocationTests { +} diff --git a/app/src/test/java/com/github/sdp/mediato/model/ReviewTests.java b/app/src/test/java/com/github/sdp/mediato/model/ReviewTests.java new file mode 100644 index 00000000..1e870955 --- /dev/null +++ b/app/src/test/java/com/github/sdp/mediato/model/ReviewTests.java @@ -0,0 +1,4 @@ +package com.github.sdp.mediato.model; + +public class ReviewTests { +} diff --git a/app/src/test/java/com/github/sdp/mediato/model/UserTests.java b/app/src/test/java/com/github/sdp/mediato/model/UserTests.java index 5ba0a2c1..a3e93a25 100644 --- a/app/src/test/java/com/github/sdp/mediato/model/UserTests.java +++ b/app/src/test/java/com/github/sdp/mediato/model/UserTests.java @@ -39,4 +39,6 @@ public void user_builder_fails_with_missing_mandatory_attributes(){ .build(); }); } + + } diff --git a/app/src/test/java/com/github/sdp/mediato/model/mediaTests/CollectionTests.java b/app/src/test/java/com/github/sdp/mediato/model/mediaTests/CollectionTests.java new file mode 100644 index 00000000..7c14da25 --- /dev/null +++ b/app/src/test/java/com/github/sdp/mediato/model/mediaTests/CollectionTests.java @@ -0,0 +1,4 @@ +package com.github.sdp.mediato.model.mediaTests; + +public class CollectionTests { +} diff --git a/app/src/test/java/com/github/sdp/mediato/model/MovieTests.java b/app/src/test/java/com/github/sdp/mediato/model/mediaTests/MovieTests.java similarity index 96% rename from app/src/test/java/com/github/sdp/mediato/model/MovieTests.java rename to app/src/test/java/com/github/sdp/mediato/model/mediaTests/MovieTests.java index 34c948ca..1aee43af 100644 --- a/app/src/test/java/com/github/sdp/mediato/model/MovieTests.java +++ b/app/src/test/java/com/github/sdp/mediato/model/mediaTests/MovieTests.java @@ -1,4 +1,4 @@ -package com.github.sdp.mediato.model; +package com.github.sdp.mediato.model.mediaTests; import static org.hamcrest.CoreMatchers.is; diff --git a/firebase-debug.log b/firebase-debug.log index fd52bdb7..b2a2af2c 100644 --- a/firebase-debug.log +++ b/firebase-debug.log @@ -1,41 +1,41 @@ -[debug] [2023-03-23T14:46:24.856Z] ---------------------------------------------------------------------- -[debug] [2023-03-23T14:46:24.858Z] Command: C:\Program Files\nodejs\node.exe C:\Users\marie\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start -[debug] [2023-03-23T14:46:24.858Z] CLI Version: 11.24.1 -[debug] [2023-03-23T14:46:24.858Z] Platform: win32 -[debug] [2023-03-23T14:46:24.859Z] Node Version: v18.14.2 -[debug] [2023-03-23T14:46:24.860Z] Time: Thu Mar 23 2023 15:46:24 GMT+0100 (heure normale d’Europe centrale) -[debug] [2023-03-23T14:46:24.860Z] ---------------------------------------------------------------------- +[debug] [2023-03-28T12:08:36.029Z] ---------------------------------------------------------------------- +[debug] [2023-03-28T12:08:36.031Z] Command: C:\Program Files\nodejs\node.exe C:\Users\marie\AppData\Roaming\npm\node_modules\firebase-tools\lib\bin\firebase.js emulators:start +[debug] [2023-03-28T12:08:36.032Z] CLI Version: 11.24.1 +[debug] [2023-03-28T12:08:36.032Z] Platform: win32 +[debug] [2023-03-28T12:08:36.032Z] Node Version: v18.14.2 +[debug] [2023-03-28T12:08:36.033Z] Time: Tue Mar 28 2023 14:08:36 GMT+0200 (heure d’été d’Europe centrale) +[debug] [2023-03-28T12:08:36.033Z] ---------------------------------------------------------------------- [debug] -[debug] [2023-03-23T14:46:25.003Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] -[debug] [2023-03-23T14:46:25.003Z] > authorizing via signed-in user (mariembaccari70@gmail.com) -[debug] [2023-03-23T14:46:25.207Z] java version "18" 2022-03-22 +[debug] [2023-03-28T12:08:36.165Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"] +[debug] [2023-03-28T12:08:36.165Z] > authorizing via signed-in user (mariembaccari70@gmail.com) +[debug] [2023-03-28T12:08:36.421Z] java version "18" 2022-03-22 -[debug] [2023-03-23T14:46:25.209Z] Java(TM) SE Runtime Environment (build 18+36-2087) +[debug] [2023-03-28T12:08:36.422Z] Java(TM) SE Runtime Environment (build 18+36-2087) Java HotSpot(TM) 64-Bit Server VM (build 18+36-2087, mixed mode, sharing) -[debug] [2023-03-23T14:46:25.225Z] Parsed Java major version: 18 +[debug] [2023-03-28T12:08:36.454Z] Parsed Java major version: 18 [info] i emulators: Starting emulators: auth, database {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: auth, database"}} -[debug] [2023-03-23T14:46:25.237Z] [logging] Logging Emulator only supports listening on one address (127.0.0.1). Not listening on ::1 -[debug] [2023-03-23T14:46:25.237Z] [auth] Authentication Emulator only supports listening on one address (127.0.0.1). Not listening on ::1 -[debug] [2023-03-23T14:46:25.238Z] assigned listening specs for emulators {"user":{"database":[{"address":"127.0.0.1","family":"IPv4","port":9000}],"hub":[{"address":"127.0.0.1","family":"IPv4","port":4400},{"address":"::1","family":"IPv6","port":4400}],"ui":[{"address":"127.0.0.1","family":"IPv4","port":4000},{"address":"::1","family":"IPv6","port":4000}],"logging":[{"address":"127.0.0.1","family":"IPv4","port":4500}],"auth":[{"address":"127.0.0.1","family":"IPv4","port":9099}]},"metadata":{"message":"assigned listening specs for emulators"}} -[debug] [2023-03-23T14:46:25.253Z] [hub] writing locator at C:\Users\marie\AppData\Local\Temp\hub-mediato-21040.json -[debug] [2023-03-23T14:46:25.262Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 [none] -[debug] [2023-03-23T14:46:25.625Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 200 -[debug] [2023-03-23T14:46:25.625Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 {"projectId":"mediato-21040","projectNumber":"900538721791","displayName":"mediaTo","name":"projects/mediato-21040","resources":{"hostingSite":"mediato-21040","realtimeDatabaseInstance":"mediato-21040-default-rtdb","storageBucket":"mediato-21040.appspot.com","locationId":"europe-west"},"state":"ACTIVE","etag":"1_10ad14c6-f2da-4d48-8cc0-096ca43cbb7a"} -[debug] [2023-03-23T14:46:25.625Z] database rules config: [] +[debug] [2023-03-28T12:08:36.467Z] [logging] Logging Emulator only supports listening on one address (127.0.0.1). Not listening on ::1 +[debug] [2023-03-28T12:08:36.467Z] [auth] Authentication Emulator only supports listening on one address (127.0.0.1). Not listening on ::1 +[debug] [2023-03-28T12:08:36.467Z] assigned listening specs for emulators {"user":{"database":[{"address":"127.0.0.1","family":"IPv4","port":9000}],"hub":[{"address":"127.0.0.1","family":"IPv4","port":4400},{"address":"::1","family":"IPv6","port":4400}],"ui":[{"address":"127.0.0.1","family":"IPv4","port":4000},{"address":"::1","family":"IPv6","port":4000}],"logging":[{"address":"127.0.0.1","family":"IPv4","port":4500}],"auth":[{"address":"127.0.0.1","family":"IPv4","port":9099}]},"metadata":{"message":"assigned listening specs for emulators"}} +[debug] [2023-03-28T12:08:36.482Z] [hub] writing locator at C:\Users\marie\AppData\Local\Temp\hub-mediato-21040.json +[debug] [2023-03-28T12:08:36.491Z] >>> [apiv2][query] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 [none] +[debug] [2023-03-28T12:08:36.757Z] <<< [apiv2][status] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 200 +[debug] [2023-03-28T12:08:36.758Z] <<< [apiv2][body] GET https://firebase.googleapis.com/v1beta1/projects/mediato-21040 {"projectId":"mediato-21040","projectNumber":"900538721791","displayName":"mediaTo","name":"projects/mediato-21040","resources":{"hostingSite":"mediato-21040","realtimeDatabaseInstance":"mediato-21040-default-rtdb","storageBucket":"mediato-21040.appspot.com","locationId":"europe-west"},"state":"ACTIVE","etag":"1_6729f6a1-e09e-430b-b59d-1b6350faea6e"} +[debug] [2023-03-28T12:08:36.758Z] database rules config: [] [warn] ! database: Did not find a Realtime Database rules file specified in a firebase.json config file. The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration. {"metadata":{"emulator":{"name":"database"},"message":"Did not find a Realtime Database rules file specified in a firebase.json config file. The emulator will default to allowing all reads and writes. Learn more about this option: https://firebase.google.com/docs/emulator-suite/install_and_configure#security_rules_configuration."}} -[debug] [2023-03-23T14:46:25.631Z] Ignoring unsupported arg: projectId {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: projectId"}} -[debug] [2023-03-23T14:46:25.631Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: auto_download"}} -[debug] [2023-03-23T14:46:25.631Z] Ignoring unsupported arg: rules {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: rules"}} -[debug] [2023-03-23T14:46:25.632Z] Starting Database Emulator with command {"binary":"java","args":["-Duser.language=en","-jar","C:\\Users\\marie\\.cache\\firebase\\emulators\\firebase-database-emulator-v4.11.0.jar","--host","127.0.0.1","--port",9000,"--single_project_mode","Warning"],"optionalArgs":["port","host","functions_emulator_port","functions_emulator_host","single_project_mode"],"joinArgs":false} {"metadata":{"emulator":{"name":"database"},"message":"Starting Database Emulator with command {\"binary\":\"java\",\"args\":[\"-Duser.language=en\",\"-jar\",\"C:\\\\Users\\\\marie\\\\.cache\\\\firebase\\\\emulators\\\\firebase-database-emulator-v4.11.0.jar\",\"--host\",\"127.0.0.1\",\"--port\",9000,\"--single_project_mode\",\"Warning\"],\"optionalArgs\":[\"port\",\"host\",\"functions_emulator_port\",\"functions_emulator_host\",\"single_project_mode\"],\"joinArgs\":false}"}} +[debug] [2023-03-28T12:08:36.766Z] Ignoring unsupported arg: projectId {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: projectId"}} +[debug] [2023-03-28T12:08:36.766Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: auto_download"}} +[debug] [2023-03-28T12:08:36.766Z] Ignoring unsupported arg: rules {"metadata":{"emulator":{"name":"database"},"message":"Ignoring unsupported arg: rules"}} +[debug] [2023-03-28T12:08:36.766Z] Starting Database Emulator with command {"binary":"java","args":["-Duser.language=en","-jar","C:\\Users\\marie\\.cache\\firebase\\emulators\\firebase-database-emulator-v4.11.0.jar","--host","127.0.0.1","--port",9000,"--single_project_mode","Warning"],"optionalArgs":["port","host","functions_emulator_port","functions_emulator_host","single_project_mode"],"joinArgs":false} {"metadata":{"emulator":{"name":"database"},"message":"Starting Database Emulator with command {\"binary\":\"java\",\"args\":[\"-Duser.language=en\",\"-jar\",\"C:\\\\Users\\\\marie\\\\.cache\\\\firebase\\\\emulators\\\\firebase-database-emulator-v4.11.0.jar\",\"--host\",\"127.0.0.1\",\"--port\",9000,\"--single_project_mode\",\"Warning\"],\"optionalArgs\":[\"port\",\"host\",\"functions_emulator_port\",\"functions_emulator_host\",\"single_project_mode\"],\"joinArgs\":false}"}} [info] i database: Database Emulator logging to database-debug.log {"metadata":{"emulator":{"name":"database"},"message":"Database Emulator logging to \u001b[1mdatabase-debug.log\u001b[22m"}} -[debug] [2023-03-23T14:46:37.862Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}} -[debug] [2023-03-23T14:46:37.863Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}} -[debug] [2023-03-23T14:46:37.863Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\marie\\.cache\\firebase\\emulators\\ui-v1.11.4\\server\\server.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\marie\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.11.4\\\\server\\\\server.js\"],\"optionalArgs\":[],\"joinArgs\":false}"}} +[debug] [2023-03-28T12:08:46.608Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}} +[debug] [2023-03-28T12:08:46.608Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}} +[debug] [2023-03-28T12:08:46.608Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\marie\\.cache\\firebase\\emulators\\ui-v1.11.4\\server\\server.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\marie\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.11.4\\\\server\\\\server.js\"],\"optionalArgs\":[],\"joinArgs\":false}"}} [info] i ui: Emulator UI logging to ui-debug.log {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI logging to \u001b[1mui-debug.log\u001b[22m"}} -[debug] [2023-03-23T14:46:38.048Z] Web / API server started at 127.0.0.1:4000 +[debug] [2023-03-28T12:08:46.745Z] Web / API server started at 127.0.0.1:4000 {"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at 127.0.0.1:4000\n"}} -[debug] [2023-03-23T14:46:38.049Z] Web / API server started at ::1:4000 +[debug] [2023-03-28T12:08:46.745Z] Web / API server started at ::1:4000 {"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at ::1:4000\n"}} [info] ┌─────────────────────────────────────────────────────────────┐ diff --git a/hq b/hq new file mode 100644 index 00000000..85dbb765 --- /dev/null +++ b/hq @@ -0,0 +1,12 @@ + add_movie_to_collection + cloud_storage +* collections_database_feature + database_interface + database_interface_tested + firebase_bootcamp + followers_feature_database + implement_profile_page + link_API_Media + main + model_definition + profile_creation_database