Skip to content

Commit

Permalink
Tested controller
Browse files Browse the repository at this point in the history
100% in tests in first try, great! 🔥
  • Loading branch information
vanpana committed Jun 11, 2017
1 parent 0686f03 commit 3aab3c3
Show file tree
Hide file tree
Showing 22 changed files with 4,500 additions and 3,766 deletions.
12 changes: 6 additions & 6 deletions CMakeFiles/Makefile2
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ CMakeFiles/Multimap.dir/all: lib/googletest-master/googlemock/gtest/CMakeFiles/g
CMakeFiles/Multimap.dir/all: lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/all
$(MAKE) -f CMakeFiles/Multimap.dir/build.make CMakeFiles/Multimap.dir/depend
$(MAKE) -f CMakeFiles/Multimap.dir/build.make CMakeFiles/Multimap.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=1,2,3,4,5,6,7,8 "Built target Multimap"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=1,2,3,4,5,6,7,8,9 "Built target Multimap"
.PHONY : CMakeFiles/Multimap.dir/all

# Include target in all.
Expand All @@ -77,7 +77,7 @@ all: CMakeFiles/Multimap.dir/all

# Build rule for subdir invocation for target.
CMakeFiles/Multimap.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" 12
$(CMAKE_COMMAND) -E cmake_progress_start "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" 13
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/Multimap.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" 0
.PHONY : CMakeFiles/Multimap.dir/rule
Expand Down Expand Up @@ -144,7 +144,7 @@ lib/googletest-master/googlemock/preinstall: lib/googletest-master/googlemock/gt
lib/googletest-master/googlemock/CMakeFiles/gmock.dir/all:
$(MAKE) -f lib/googletest-master/googlemock/CMakeFiles/gmock.dir/build.make lib/googletest-master/googlemock/CMakeFiles/gmock.dir/depend
$(MAKE) -f lib/googletest-master/googlemock/CMakeFiles/gmock.dir/build.make lib/googletest-master/googlemock/CMakeFiles/gmock.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=9,10,11 "Built target gmock"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=10,11,12 "Built target gmock"
.PHONY : lib/googletest-master/googlemock/CMakeFiles/gmock.dir/all

# Include target in all.
Expand Down Expand Up @@ -181,7 +181,7 @@ clean: lib/googletest-master/googlemock/CMakeFiles/gmock.dir/clean
lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/all:
$(MAKE) -f lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/build.make lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/depend
$(MAKE) -f lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/build.make lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=12,13,14,15 "Built target gmock_main"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=13,14,15,16 "Built target gmock_main"
.PHONY : lib/googletest-master/googlemock/CMakeFiles/gmock_main.dir/all

# Include target in all.
Expand Down Expand Up @@ -238,7 +238,7 @@ lib/googletest-master/googlemock/gtest/preinstall:
lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/all: lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/all
$(MAKE) -f lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/build.make lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/depend
$(MAKE) -f lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/build.make lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=18,19 "Built target gtest_main"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=19,20 "Built target gtest_main"
.PHONY : lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/all

# Include target in all.
Expand Down Expand Up @@ -275,7 +275,7 @@ clean: lib/googletest-master/googlemock/gtest/CMakeFiles/gtest_main.dir/clean
lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/all:
$(MAKE) -f lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/build.make lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/depend
$(MAKE) -f lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/build.make lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=16,17 "Built target gtest"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=17,18 "Built target gtest"
.PHONY : lib/googletest-master/googlemock/gtest/CMakeFiles/gtest.dir/all

# Include target in all.
Expand Down
14 changes: 14 additions & 0 deletions CMakeFiles/Multimap.dir/CXX.includecache
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,20 @@ UI/Console.h
gtest/gtest.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/gtest/gtest.h

/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp
test_controller.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.h

/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.h
gmock/gmock-matchers.h
-
gtest/gtest.h
-
gmock/gmock.h
-
../Controller/Controller.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Controller/Controller.h

/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_date.cpp
test_date.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_date.h
Expand Down
1 change: 1 addition & 0 deletions CMakeFiles/Multimap.dir/DependInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ set(CMAKE_DEPENDS_CHECK_CXX
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Repository/Repository.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/Repository/Repository.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/UI/Console.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/UI/Console.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/main.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/main.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/tests/test_controller.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_date.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/tests/test_date.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_multimap.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/tests/test_multimap.o"
"/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_node.cpp" "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles/Multimap.dir/tests/test_node.o"
Expand Down
Binary file modified CMakeFiles/Multimap.dir/Repository/Repository.o
Binary file not shown.
31 changes: 29 additions & 2 deletions CMakeFiles/Multimap.dir/build.make
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,30 @@ CMakeFiles/Multimap.dir/tests/test_date.o.provides: CMakeFiles/Multimap.dir/test
CMakeFiles/Multimap.dir/tests/test_date.o.provides.build: CMakeFiles/Multimap.dir/tests/test_date.o


CMakeFiles/Multimap.dir/tests/test_controller.o: CMakeFiles/Multimap.dir/flags.make
CMakeFiles/Multimap.dir/tests/test_controller.o: tests/test_controller.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_8) "Building CXX object CMakeFiles/Multimap.dir/tests/test_controller.o"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -o CMakeFiles/Multimap.dir/tests/test_controller.o -c "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp"

CMakeFiles/Multimap.dir/tests/test_controller.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/Multimap.dir/tests/test_controller.i"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -E "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp" > CMakeFiles/Multimap.dir/tests/test_controller.i

CMakeFiles/Multimap.dir/tests/test_controller.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/Multimap.dir/tests/test_controller.s"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) -S "/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp" -o CMakeFiles/Multimap.dir/tests/test_controller.s

CMakeFiles/Multimap.dir/tests/test_controller.o.requires:

.PHONY : CMakeFiles/Multimap.dir/tests/test_controller.o.requires

CMakeFiles/Multimap.dir/tests/test_controller.o.provides: CMakeFiles/Multimap.dir/tests/test_controller.o.requires
$(MAKE) -f CMakeFiles/Multimap.dir/build.make CMakeFiles/Multimap.dir/tests/test_controller.o.provides.build
.PHONY : CMakeFiles/Multimap.dir/tests/test_controller.o.provides

CMakeFiles/Multimap.dir/tests/test_controller.o.provides.build: CMakeFiles/Multimap.dir/tests/test_controller.o


# Object files for target Multimap
Multimap_OBJECTS = \
"CMakeFiles/Multimap.dir/main.o" \
Expand All @@ -233,7 +257,8 @@ Multimap_OBJECTS = \
"CMakeFiles/Multimap.dir/UI/Console.o" \
"CMakeFiles/Multimap.dir/tests/test_node.o" \
"CMakeFiles/Multimap.dir/tests/test_multimap.o" \
"CMakeFiles/Multimap.dir/tests/test_date.o"
"CMakeFiles/Multimap.dir/tests/test_date.o" \
"CMakeFiles/Multimap.dir/tests/test_controller.o"

# External object files for target Multimap
Multimap_EXTERNAL_OBJECTS =
Expand All @@ -245,11 +270,12 @@ Multimap: CMakeFiles/Multimap.dir/UI/Console.o
Multimap: CMakeFiles/Multimap.dir/tests/test_node.o
Multimap: CMakeFiles/Multimap.dir/tests/test_multimap.o
Multimap: CMakeFiles/Multimap.dir/tests/test_date.o
Multimap: CMakeFiles/Multimap.dir/tests/test_controller.o
Multimap: CMakeFiles/Multimap.dir/build.make
Multimap: lib/googletest-master/googlemock/gtest/libgtest_main.dylib
Multimap: lib/googletest-master/googlemock/gtest/libgtest.dylib
Multimap: CMakeFiles/Multimap.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_8) "Linking CXX executable Multimap"
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir="/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/CMakeFiles" --progress-num=$(CMAKE_PROGRESS_9) "Linking CXX executable Multimap"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/Multimap.dir/link.txt --verbose=$(VERBOSE)

# Rule to build all files generated by this target.
Expand All @@ -264,6 +290,7 @@ CMakeFiles/Multimap.dir/requires: CMakeFiles/Multimap.dir/UI/Console.o.requires
CMakeFiles/Multimap.dir/requires: CMakeFiles/Multimap.dir/tests/test_node.o.requires
CMakeFiles/Multimap.dir/requires: CMakeFiles/Multimap.dir/tests/test_multimap.o.requires
CMakeFiles/Multimap.dir/requires: CMakeFiles/Multimap.dir/tests/test_date.o.requires
CMakeFiles/Multimap.dir/requires: CMakeFiles/Multimap.dir/tests/test_controller.o.requires

.PHONY : CMakeFiles/Multimap.dir/requires

Expand Down
1 change: 1 addition & 0 deletions CMakeFiles/Multimap.dir/cmake_clean.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ file(REMOVE_RECURSE
"CMakeFiles/Multimap.dir/tests/test_node.o"
"CMakeFiles/Multimap.dir/tests/test_multimap.o"
"CMakeFiles/Multimap.dir/tests/test_date.o"
"CMakeFiles/Multimap.dir/tests/test_controller.o"
"Multimap.pdb"
"Multimap"
)
Expand Down
46 changes: 46 additions & 0 deletions CMakeFiles/Multimap.dir/depend.internal
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,52 @@ CMakeFiles/Multimap.dir/main.o
lib/googletest-master/googletest/include/gtest/internal/gtest-string.h
lib/googletest-master/googletest/include/gtest/internal/gtest-tuple.h
lib/googletest-master/googletest/include/gtest/internal/gtest-type-util.h
CMakeFiles/Multimap.dir/tests/test_controller.o
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Controller/Controller.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Entities/Date.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Entities/Multimap.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Repository/Repository.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.cpp
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_controller.h
lib/googletest-master/googlemock/include/gmock/gmock-actions.h
lib/googletest-master/googlemock/include/gmock/gmock-cardinalities.h
lib/googletest-master/googlemock/include/gmock/gmock-generated-actions.h
lib/googletest-master/googlemock/include/gmock/gmock-generated-function-mockers.h
lib/googletest-master/googlemock/include/gmock/gmock-generated-matchers.h
lib/googletest-master/googlemock/include/gmock/gmock-generated-nice-strict.h
lib/googletest-master/googlemock/include/gmock/gmock-matchers.h
lib/googletest-master/googlemock/include/gmock/gmock-more-actions.h
lib/googletest-master/googlemock/include/gmock/gmock-more-matchers.h
lib/googletest-master/googlemock/include/gmock/gmock-spec-builders.h
lib/googletest-master/googlemock/include/gmock/gmock.h
lib/googletest-master/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
lib/googletest-master/googlemock/include/gmock/internal/custom/gmock-matchers.h
lib/googletest-master/googlemock/include/gmock/internal/custom/gmock-port.h
lib/googletest-master/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
lib/googletest-master/googlemock/include/gmock/internal/gmock-internal-utils.h
lib/googletest-master/googlemock/include/gmock/internal/gmock-port.h
lib/googletest-master/googletest/include/gtest/gtest-death-test.h
lib/googletest-master/googletest/include/gtest/gtest-message.h
lib/googletest-master/googletest/include/gtest/gtest-param-test.h
lib/googletest-master/googletest/include/gtest/gtest-printers.h
lib/googletest-master/googletest/include/gtest/gtest-test-part.h
lib/googletest-master/googletest/include/gtest/gtest-typed-test.h
lib/googletest-master/googletest/include/gtest/gtest.h
lib/googletest-master/googletest/include/gtest/gtest_pred_impl.h
lib/googletest-master/googletest/include/gtest/gtest_prod.h
lib/googletest-master/googletest/include/gtest/internal/custom/gtest-port.h
lib/googletest-master/googletest/include/gtest/internal/custom/gtest-printers.h
lib/googletest-master/googletest/include/gtest/internal/gtest-death-test-internal.h
lib/googletest-master/googletest/include/gtest/internal/gtest-filepath.h
lib/googletest-master/googletest/include/gtest/internal/gtest-internal.h
lib/googletest-master/googletest/include/gtest/internal/gtest-linked_ptr.h
lib/googletest-master/googletest/include/gtest/internal/gtest-param-util-generated.h
lib/googletest-master/googletest/include/gtest/internal/gtest-param-util.h
lib/googletest-master/googletest/include/gtest/internal/gtest-port-arch.h
lib/googletest-master/googletest/include/gtest/internal/gtest-port.h
lib/googletest-master/googletest/include/gtest/internal/gtest-string.h
lib/googletest-master/googletest/include/gtest/internal/gtest-tuple.h
lib/googletest-master/googletest/include/gtest/internal/gtest-type-util.h
CMakeFiles/Multimap.dir/tests/test_date.o
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/Entities/Date.h
/Users/vanpana/Google Drive/Uni/An 1/Semestrul 2 - Mac/DSA/MultiMapSLL/tests/test_date.cpp
Expand Down
Loading

0 comments on commit 3aab3c3

Please sign in to comment.