|
@@ -375,7 +375,7 @@ public class RowTests
|
|
|
row.ConstantItem(30).Height(50);
|
|
row.ConstantItem(30).Height(50);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -392,7 +392,7 @@ public class RowTests
|
|
|
row.ConstantItem(10).Mock("a").SolidBlock(height: 40);
|
|
row.ConstantItem(10).Mock("a").SolidBlock(height: 40);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -411,7 +411,7 @@ public class RowTests
|
|
|
row.RelativeItem();
|
|
row.RelativeItem();
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("One of the items has a negative size, indicating insufficient horizontal space. Usually, constant items require more space than is available, potentially causing other content to overflow.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
@@ -510,7 +510,7 @@ public class RowTests
|
|
|
row.ConstantItem(40).Height(200); // <-
|
|
row.ConstantItem(40).Height(200); // <-
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The available vertical space is less than the minimum height.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
@@ -561,7 +561,7 @@ public class RowTests
|
|
|
row.ConstantItem(200); // <-
|
|
row.ConstantItem(200); // <-
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -577,7 +577,7 @@ public class RowTests
|
|
|
row.ConstantItem(40).Width(200); // <-
|
|
row.ConstantItem(40).Width(200); // <-
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The available horizontal space is less than the minimum width.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -594,7 +594,7 @@ public class RowTests
|
|
|
row.ConstantItem(40);
|
|
row.ConstantItem(40);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -610,7 +610,7 @@ public class RowTests
|
|
|
row.RelativeItem(3).Width(200); // <-
|
|
row.RelativeItem(3).Width(200); // <-
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The available horizontal space is less than the minimum width.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -626,7 +626,7 @@ public class RowTests
|
|
|
row.AutoItem().Width(80);
|
|
row.AutoItem().Width(80);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -643,7 +643,7 @@ public class RowTests
|
|
|
row.AutoItem().Width(50);
|
|
row.AutoItem().Width(50);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
[Test]
|
|
[Test]
|
|
@@ -659,7 +659,7 @@ public class RowTests
|
|
|
row.AutoItem().Width(50);
|
|
row.AutoItem().Width(50);
|
|
|
});
|
|
});
|
|
|
})
|
|
})
|
|
|
- .ExpectLayoutException();
|
|
|
|
|
|
|
+ .ExpectLayoutException("The content requires more horizontal space than available.");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
#endregion
|