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_CONTENT_DOUBLE_QUOTES = "[^<>"]*"
ATTRIBUTE_CONTENT_SINGLE_QUOTES = '[^<>']*'
BRACKET = [</?>]
BRACKET = [</?!>]

View File

@ -1,59 +1,59 @@
<?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">
<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-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
 android:name=".AnalyticsApplication"
 android:allowBackup="true"
 android:icon="@drawable/ic_launcher"
 android:label="@string/app_name"
 android:theme="@style/AppTheme" >
<meta-data android:name="com.google.android.gms.version"
 android:value="@integer/google_play_services_version" />
<activity
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:windowSoftInputMode="adjustPan"
 android:launchMode="singleTop"
 android:name=".MainActivity"
 android:label="@string/app_name" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
 android:name=".AnalyticsApplication"
 android:allowBackup="true"
 android:icon="@drawable/ic_launcher"
 android:label="@string/app_name"
 android:theme="@style/AppTheme" >
<meta-data android:name="com.google.android.gms.version"
 android:value="@integer/google_play_services_version" />
<activity
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:windowSoftInputMode="adjustPan"
 android:launchMode="singleTop"
 android:name=".MainActivity"
 android:label="@string/app_name" >
<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>
</activity>
<activity
 android:name="about"
 android:label="@string/app_name" >
<activity
 android:name="about"
 android:label="@string/app_name" >
</activity>
<activity
 android:name="settings"
 android:label="Settings" >
<activity
 android:name="settings"
 android:label="Settings" >
</activity>
<activity
 android:name=".SetAlarm"
 android:theme="@android:style/Theme.NoDisplay"
 android:label="" >
<activity
 android:name=".SetAlarm"
 android:theme="@android:style/Theme.NoDisplay"
 android:label="" >
</activity>
<!--Include the AdActivity configChanges and theme. -->
<activity android:name="com.google.android.gms.ads.AdActivity"
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:theme="@android:style/Theme.Translucent" />
<receiver
 android:name=".AlarmReceiver"
 android:exported="true" >
<activity android:name="com.google.android.gms.ads.AdActivity"
 android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
 android:theme="@android:style/Theme.Translucent" />
<receiver
 android:name=".AlarmReceiver"
 android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.NOTIFY" />
<action android:name="android.intent.action.NOTIFY" />
</intent-filter>
</receiver>
<receiver
 android:name=".RebootReceiver"
 android:exported="true" >
<receiver
 android:name=".RebootReceiver"
 android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</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 -->
<siteinfo>
@ -79,7 +79,7 @@
</contributor>
<minor />
<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>
<model>wikitext</model>
<format>text/x-wiki</format>
@ -92,7 +92,7 @@
<ip>10.0.0.2</ip>
</contributor>
<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>
<model>wikitext</model>
<format>text/x-wiki</format>
@ -108,7 +108,7 @@
<timestamp>2001-01-15T14:03:00Z</timestamp>
<contributor><ip>10.0.0.2</ip></contributor>
<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>
<model>wikitext</model>
<format>text/x-wiki</format>
@ -124,7 +124,7 @@
<timestamp>2001-01-15T20:34:12Z</timestamp>
<contributor><username>Foobar</username><id>42</id></contributor>
<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>
<model>wikitext</model>
<format>text/x-wiki</format>
@ -151,7 +151,7 @@
<type>delete</type>
<action>delete</action>
<logtitle>Silly page name</logtitle>
<params xml:space="preserve" />
<params xml:space="preserve" />
</logitem>
</mediawiki>