TheAssassin
574a883733
Don't require desktop file's path to exist
2018-11-09 21:28:40 +01:00
TheAssassin
6e525e0a65
Add missing newline
2018-11-09 18:31:27 +01:00
TheAssassin
11bbe4d219
Rewrite DesktopFile using own parser
2018-11-09 16:04:40 +01:00
TheAssassin
0d59a27905
Improve test workflow
...
Use ASSERT first to make sure teh function that performs the work has
run as intended, then use EXPECT to make sure all checks are run.
2018-11-09 13:41:32 +01:00
TheAssassin
8b4feb5fd5
Add data getter
2018-11-09 03:16:14 +01:00
TheAssassin
3e1d340612
Add DesktopFileWriter
2018-11-09 03:05:20 +01:00
TheAssassin
8a2d57e8d5
Move definition of types into DesktopFile
...
Types will be shared with future DesktopFileWriter class.
2018-11-09 02:26:09 +01:00
TheAssassin
4bb1ef124b
Move into proper namespace
2018-11-09 01:56:05 +01:00
TheAssassin
93c947b56a
Check whether keys and values with spaces are parsed properly
2018-11-09 01:48:44 +01:00
TheAssassin
4bf295d4d6
Validate all values in desktop file
2018-11-09 01:45:36 +01:00
TheAssassin
2c40482bc0
Implement subscript operator returning sections
2018-11-09 01:44:02 +01:00
TheAssassin
a647205226
Implement conversion to double
2018-11-09 01:32:18 +01:00
TheAssassin
73832323c8
Implement actual parsing
2018-11-09 01:12:48 +01:00
TheAssassin
169275e023
Fix semantics of isEmpty()
2018-11-09 00:58:09 +01:00
TheAssassin
b4efb2bc56
Increase test coverage
2018-11-09 00:54:32 +01:00
TheAssassin
aa2e8b9105
Allow construction from istream
2018-11-09 00:43:02 +01:00
TheAssassin
75f2511437
Add some convenience function to convert/parse value
2018-11-09 00:08:40 +01:00
TheAssassin
9a4916fe84
Desktop file entry initial commit
2018-11-08 23:08:32 +01:00
TheAssassin
22ecabc51b
Desktop file parser initial commit
2018-11-08 22:18:23 +01:00
Alexis Lopez Zubieta
9d78e0786b
Ensure that custom AppRun are deployed even if no desktop files are found
2018-11-06 07:48:12 -06:00
Alexis Lopez Zubieta
5055efdc05
Rename linuxdeploy.cpp and linuxdeploy.h to core.cpp and core.h
2018-11-05 18:33:14 -06:00
Alexis Lopez Zubieta
553bb9fcb0
No need to override constructor
2018-11-05 15:41:06 -06:00
Alexis Lopez Zubieta
906dcab283
Fix code style
2018-11-05 15:40:15 -06:00
Alexis Lopez Zubieta
fc3d80c281
remove duplicated 'public'
2018-11-05 15:39:47 -06:00
Alexis Lopez Zubieta
f3f30166f2
Importing boost::filesystem as bf to keep consistency its usage across the project
2018-11-05 15:38:12 -06:00
Alexis Lopez Zubieta
2210b7e65d
Remove integration test 'build_minimal_appimage_with_custom_apprun'
2018-11-05 15:33:15 -06:00
Alexis Lopez Zubieta
41569a4f53
The ".DirIcon" creation seems not to be responsibility of deployAppDirRootFiles
2018-11-05 15:27:58 -06:00
Alexis Lopez Zubieta
bd12fefc35
Complete deployAppDirRootFilesWithExistentAppRun definition
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
1fa90fbd5c
Add namespace and prepare unittest
2018-11-05 15:12:27 -06:00
Alexis Lopez Zubieta
31f20a398f
Add integration test to build a minimal appimage with custom AppRun
2018-11-05 15:12:27 -06:00
Alexis López Zubieta
d9ca907da8
Add symlinkFile to the public AppDir interface ( #42 )
...
* Add symlinkFile to the public AppDir interface
* Rename AppDir::symlinkFile to AppDir::createSymlink
* change return value to bool
* Remove duplicated header
* Remove blank lines
* Add comment
* Fix test name
* Change createSymlink signature. Name changed to createRelativeSymlink and remove the useRelativePath argument
* Remove commented tests.
2018-11-05 22:10:18 +01:00
TheAssassin
33829c07d0
Remove redundant variables and fix paths
2018-10-25 01:16:05 +02:00
TheAssassin
90f8ed26b8
Fix path in unit test
2018-10-25 01:12:47 +02:00
TheAssassin
cbaa343a82
Add missing trailing newline character
...
[ci skip]
2018-10-25 01:08:52 +02:00
TheAssassin
9cf0663baa
Hardcode all paths to recognize sudden changes of destination paths
2018-10-25 01:06:12 +02:00
TheAssassin
e94494ea31
Move declaration of variables to top
2018-10-25 00:48:13 +02:00
TheAssassin
2dce34daf9
Use ASSERT_* instead of if()s and FAIL()
2018-10-25 00:46:46 +02:00
TheAssassin
7260078b6c
Move test into subdirectory named like internal library
2018-10-25 00:39:45 +02:00
TheAssassin
4bdceec7d8
Use standard lower-case file extension
2018-10-25 00:30:41 +02:00
TheAssassin
ca6c710c38
Remove deprecated code
2018-10-25 00:27:32 +02:00
TheAssassin
2f96dec588
Fix tests' structure, code style and use of GTest
2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
172db51186
Add unit test for AppDir::depoloyLibrary but with an invalid path.
2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
376eddb14d
Add unit test for AppDir::deployFile
2018-10-25 00:27:32 +02:00
Alexis Lopez Zubieta
47ff6c8e9d
Add AppDir::deployIcon test.
2018-10-25 00:27:03 +02:00
Alexis Lopez Zubieta
eacc907c85
Add unit test for AppDir::deployDesktopFile
2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
4c9943f0d1
Add unit test for AppDir::deployExecutable
2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
a0503a7102
Add test for AppDir::depoloyLibrary
2018-10-24 13:09:59 +02:00
Alexis Lopez Zubieta
f1e752d452
Add unit test for AppDir::createBasicStructure
2018-10-24 13:09:59 +02:00