[cairo-commit] rcairo/test test_context.rb,1.6,1.7

Kouhei Sutou commit at pdx.freedesktop.org
Fri Sep 26 06:59:20 PDT 2008


Committed by: kou

Update of /cvs/cairo/rcairo/test
In directory kemper:/tmp/cvs-serv18753/test

Modified Files:
	test_context.rb 
Log Message:
* test/test_context.rb (ContextTest#test_font_face): remove needless test.


Index: test_context.rb
===================================================================
RCS file: /cvs/cairo/rcairo/test/test_context.rb,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- test_context.rb	17 Aug 2008 07:21:42 -0000	1.6
+++ test_context.rb	26 Sep 2008 13:59:18 -0000	1.7
@@ -49,18 +49,6 @@
     assert_equal("sans", context.font_face.family)
   end
 
-  def test_have_show_text_glyphs?
-    only_cairo_version(1, 7, 2)
-
-    pdf_surface = Cairo::PDFSurface.new(@output, 10, 10)
-    context = Cairo::Context.new(pdf_surface)
-    assert_true(context.have_show_text_glyphs?)
-
-    image_surface = Cairo::ImageSurface.new(10, 10)
-    context = Cairo::Context.new(image_surface)
-    assert_false(context.have_show_text_glyphs?)
-  end
-
   def test_text_to_glyphs
     only_cairo_version(1, 7, 2)
 



More information about the cairo-commit mailing list