Updated tests for highlighter after fix

This commit is contained in:
Thomas Ave 2016-05-31 14:22:25 +02:00
parent a7f30688fe
commit 5f2aeeccff
3 changed files with 48 additions and 48 deletions

View File

@ -3,4 +3,4 @@ WHITESPACE = [ ]*
ATTRIBUTE = [a-zA-Z0-9-]*[ ]*=? ATTRIBUTE = [a-zA-Z0-9-]*[ ]*=?
ATTRIBUTE_CONTENT_DOUBLE_QUOTES = "[^<>"]*" ATTRIBUTE_CONTENT_DOUBLE_QUOTES = "[^<>"]*"
ATTRIBUTE_CONTENT_SINGLE_QUOTES = '[^<>']*' ATTRIBUTE_CONTENT_SINGLE_QUOTES = '[^<>']*'
BRACKET = [</?>] BRACKET = [</?!>]

View File

@ -1,59 +1,59 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 package="thomasave.notes">  package="thomasave.notes">
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Include required permissions for Google Mobile Ads to run--> <!-- Include required permissions for Google Mobile Ads to run-->
<uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application <application
 android:name=".AnalyticsApplication"  android:name=".AnalyticsApplication"
 android:allowBackup="true"  android:allowBackup="true"
 android:icon="@drawable/ic_launcher"  android:icon="@drawable/ic_launcher"
 android:label="@string/app_name"  android:label="@string/app_name"
 android:theme="@style/AppTheme" >  android:theme="@style/AppTheme" >
<meta-data android:name="com.google.android.gms.version" <meta-data android:name="com.google.android.gms.version"
 android:value="@integer/google_play_services_version" />  android:value="@integer/google_play_services_version" />
<activity <activity
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:windowSoftInputMode="adjustPan"  android:windowSoftInputMode="adjustPan"
 android:launchMode="singleTop"  android:launchMode="singleTop"
 android:name=".MainActivity"  android:name=".MainActivity"
 android:label="@string/app_name" >  android:label="@string/app_name" >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </intent-filter>
</activity> </activity>
<activity <activity
 android:name="about"  android:name="about"
 android:label="@string/app_name" >  android:label="@string/app_name" >
</activity> </activity>
<activity <activity
 android:name="settings"  android:name="settings"
 android:label="Settings" >  android:label="Settings" >
</activity> </activity>
<activity <activity
 android:name=".SetAlarm"  android:name=".SetAlarm"
 android:theme="@android:style/Theme.NoDisplay"  android:theme="@android:style/Theme.NoDisplay"
 android:label="" >  android:label="" >
</activity> </activity>
<!--Include the AdActivity configChanges and theme. --> <!--Include the AdActivity configChanges and theme. -->
<activity android:name="com.google.android.gms.ads.AdActivity" <activity android:name="com.google.android.gms.ads.AdActivity"
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:theme="@android:style/Theme.Translucent" />  android:theme="@android:style/Theme.Translucent" />
<receiver <receiver
 android:name=".AlarmReceiver"  android:name=".AlarmReceiver"
 android:exported="true" >  android:exported="true" >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.NOTIFY" /> <action android:name="android.intent.action.NOTIFY" />
</intent-filter> </intent-filter>
</receiver> </receiver>
<receiver <receiver
 android:name=".RebootReceiver"  android:name=".RebootReceiver"
 android:exported="true" >  android:exported="true" >
<intent-filter> <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" /> <action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter> </intent-filter>
</receiver> </receiver>

View File

@ -1,4 +1,4 @@
<mediawiki xmlns="http://www.mediawiki.org/xml/export-0.8/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en"> <mediawiki xmlns="http://www.mediawiki.org/xml/export-0.8/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.mediawiki.org/xml/export-0.8/ http://www.mediawiki.org/xml/export-0.8.xsd" version="0.8" xml:lang="en">
<!-- Optional global configuration info --> <!-- Optional global configuration info -->
<siteinfo> <siteinfo>
@ -79,7 +79,7 @@
</contributor> </contributor>
<minor /> <minor />
<comment>I have just one thing to say!</comment> <comment>I have just one thing to say!</comment>
<text xml:space="preserve" bytes="25">A bunch of [[text]] here.</text> <text xml:space="preserve" bytes="25">A bunch of [[text]] here.</text>
<sha1>5x0ux8iwjrbmfzgv6pkketxgkcnpr7h</sha1> <sha1>5x0ux8iwjrbmfzgv6pkketxgkcnpr7h</sha1>
<model>wikitext</model> <model>wikitext</model>
<format>text/x-wiki</format> <format>text/x-wiki</format>
@ -92,7 +92,7 @@
<ip>10.0.0.2</ip> <ip>10.0.0.2</ip>
</contributor> </contributor>
<comment>new!</comment> <comment>new!</comment>
<text xml:space="preserve" bytes="24">An earlier [[revision]].</text> <text xml:space="preserve" bytes="24">An earlier [[revision]].</text>
<sha1>etaxt3shcge6igz1biwy3d4um2pnle4</sha1> <sha1>etaxt3shcge6igz1biwy3d4um2pnle4</sha1>
<model>wikitext</model> <model>wikitext</model>
<format>text/x-wiki</format> <format>text/x-wiki</format>
@ -108,7 +108,7 @@
<timestamp>2001-01-15T14:03:00Z</timestamp> <timestamp>2001-01-15T14:03:00Z</timestamp>
<contributor><ip>10.0.0.2</ip></contributor> <contributor><ip>10.0.0.2</ip></contributor>
<comment>hey</comment> <comment>hey</comment>
<text xml:space="preserve" bytes="47">WHYD YOU LOCK PAGE??!!! i was editing that jerk</text> <text xml:space="preserve" bytes="47">WHYD YOU LOCK PAGE??!!! i was editing that jerk</text>
<sha1>ml80vmyjlixdstnywwihx003exfzq9j</sha1> <sha1>ml80vmyjlixdstnywwihx003exfzq9j</sha1>
<model>wikitext</model> <model>wikitext</model>
<format>text/x-wiki</format> <format>text/x-wiki</format>
@ -124,7 +124,7 @@
<timestamp>2001-01-15T20:34:12Z</timestamp> <timestamp>2001-01-15T20:34:12Z</timestamp>
<contributor><username>Foobar</username><id>42</id></contributor> <contributor><username>Foobar</username><id>42</id></contributor>
<comment>My awesomeest image!</comment> <comment>My awesomeest image!</comment>
<text xml:space="preserve" bytes="52">This is an awesome little imgae. I lurves it. {{PD}}</text> <text xml:space="preserve" bytes="52">This is an awesome little imgae. I lurves it. {{PD}}</text>
<sha1>mehom37npwkpzhaiwu3wyr0egalumki</sha1> <sha1>mehom37npwkpzhaiwu3wyr0egalumki</sha1>
<model>wikitext</model> <model>wikitext</model>
<format>text/x-wiki</format> <format>text/x-wiki</format>
@ -151,7 +151,7 @@
<type>delete</type> <type>delete</type>
<action>delete</action> <action>delete</action>
<logtitle>Silly page name</logtitle> <logtitle>Silly page name</logtitle>
<params xml:space="preserve" /> <params xml:space="preserve" />
</logitem> </logitem>
</mediawiki> </mediawiki>