Ignore:
Timestamp:
Aug 28, 2017, 7:13:39 PM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
0.5, debian/bullseye, debian/jessie, master
Children:
fc63b30
Parents:
563c04b
Message:

Added Nmea0183 Parsers to the PHP webservice to allow the user to load a logfile into the map
(loading the logfile and display it on the map is not implemented yet)

Location:
src/webapp/webservice
Files:
16 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/webapp/webservice/inc/autoloader.php

    r563c04b r86442cb  
    2525}
    2626
     27function canClassBeLoaded($class) {
     28        $parts = explode('\\', $class);
     29        $fileName = __DIR__ ."/". join("/", $parts) .".php";
     30        return file_exists($fileName);
     31}
     32
    2733spl_autoload_register("gnuboatAutoloader");
    2834
  • src/webapp/webservice/tests/ServiceTest.php

    r563c04b r86442cb  
    2525final class ServiceTest extends PHPUnit_Framework_TestCase
    2626{
    27         /**
    28           * @runInSeparateProcess
    29           */
    3027        public function testData()
    3128        {
    … …  
    3633        }
    3734
    38         /**
    39           * @runInSeparateProcess
    40           */
    4135        public function testLogFiles()
    4236        {
    … …  
    4741        }
    4842       
    49         /**
    50           * @runInSeparateProcess
    51           */
    5243        public function testShutdown()
    5344        {
    … …  
    5849        }
    5950       
    60         /**
    61           * @runInSeparateProcess
    62           */
    6351        public function testMap()
    6452        {
Note: See TracChangeset for help on using the changeset viewer.