Index: tests/phpunit/tests/locale.php
===================================================================
--- tests/phpunit/tests/locale.php	(revision 0)
+++ tests/phpunit/tests/locale.php	(working copy)
@@ -0,0 +1,37 @@
+<?php
+
+/**
+ * @group locale
+ */
+class Tests_Locale extends WP_UnitTestCase {
+
+	/**
+	 * Test WP_Locale's normal cases
+	 */
+	function test_locale() {
+		$locale = new WP_Locale();
+
+		$this->assertEquals( __( 'January' ), $locale->get_month( 1 ) );
+		$this->assertEquals( __( 'February' ), $locale->get_month( '02' ) );
+
+		$this->assertEquals( __( 'Sunday' ), $locale->get_weekday( 0 ) );
+		$this->assertEquals( __( 'S' ), $locale->get_weekday_initial( __( 'Sunday') ) );
+		$this->assertEquals( __( 'Sun' ), $locale->get_weekday_abbrev( __( 'Sunday' ) ) );
+
+		$this->assertEquals( __( 'January' ), $locale->get_month( 1 ) );
+		$this->assertEquals( __( 'Jan' ), $locale->get_month_abbrev( __( 'January' ) ) );
+
+		$this->assertEquals( __( 'am' ), $locale->get_meridiem( __('am') ) );
+
+		return $locale;
+	}
+
+	/**
+	 * @param WP_Locale $locale
+	 * @depends test_locale
+	 */
+	function test_rtl_src_admin_notice( $locale ) {
+		$this->expectOutputRegex( '#<div class="error"><p>.*</p></div>#' );
+		$locale->rtl_src_admin_notice();
+	}
+}

Property changes on: tests/phpunit/tests/locale.php
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
